package com.ruoyi.project.rest.detail.service;

import java.util.List;
import com.ruoyi.project.rest.detail.domain.RestOrderDetail;

/**
 * 订单商品明细Service接口
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public interface IRestOrderDetailService 
{
    /**
     * 查询订单商品明细
     * 
     * @param orderNo 订单商品明细主键
     * @return 订单商品明细
     */
    public RestOrderDetail selectRestOrderDetailByOrderNo(String orderNo);

    /**
     * 查询订单商品明细列表
     * 
     * @param restOrderDetail 订单商品明细
     * @return 订单商品明细集合
     */
    public List<RestOrderDetail> selectRestOrderDetailList(RestOrderDetail restOrderDetail);

    /**
     * 新增订单商品明细
     * 
     * @param restOrderDetail 订单商品明细
     * @return 结果
     */
    public int insertRestOrderDetail(RestOrderDetail restOrderDetail);

    /**
     * 修改订单商品明细
     * 
     * @param restOrderDetail 订单商品明细
     * @return 结果
     */
    public int updateRestOrderDetail(RestOrderDetail restOrderDetail);

    /**
     * 批量删除订单商品明细
     * 
     * @param orderNos 需要删除的订单商品明细主键集合
     * @return 结果
     */
    public int deleteRestOrderDetailByOrderNos(String orderNos);

    /**
     * 删除订单商品明细信息
     * 
     * @param orderNo 订单商品明细主键
     * @return 结果
     */
    public int deleteRestOrderDetailByOrderNo(String orderNo);
}
